#ifndef __APP_BLUETOOTH_H__
#define __APP_BLUETOOTH_H__
#include "app/app_device.h"
#include "app_message.h"
#include "app_serial.h"


int app_bluetooth_setConnectType(SerialDevice *serial_device);
int app_bluetooth_status(SerialDevice *serial_device);
int app_bluetooth_setBaudRate(SerialDevice *serial_device,  SerialBaudRate  baud_rate);
int app_bluetooth_setNetId(SerialDevice *serial_device, char *net_id);
int app_bluetooth_setMAddr(SerialDevice *serial_device, char *m_addr);
int app_bluetooth_postRead(Device *device, void *ptr, int *len);
int app_bluetooth_preWrite(Device *device, void *ptr, int *len);
int app_bluetooth_rest(SerialDevice *serial_device);
#endif